#!/bin/bash

DATE=`date +%Y%m%d_%H`

cat /dev/null > resource_table.sql

for table in $(cat resource_tmp.txt)
do
mysqldump -uroot -prpdlaqlf pz_user $table >> resource_table.sql
done

